package com.youku.plugins.liveLoader
{
   import com.youku.interfaces.IPlugin;
   import com.youku.plugins.liveLoader.view.LiveLoaderMediator;
   import flash.display.MovieClip;
   import com.youku.interfaces.IPlayerProxy;
   
   public class LiveLoaderFacade extends Object implements IPlugin
   {
      
      public function LiveLoaderFacade() {
         super();
      }
      
      private static var _instance:LiveLoaderFacade;
      
      public static function getInstance() : LiveLoaderFacade {
         if(_instance == null)
         {
            _instance = new LiveLoaderFacade();
         }
         return _instance as LiveLoaderFacade;
      }
      
      private var _liveLoaderMediator:LiveLoaderMediator;
      
      public function init(param1:MovieClip, param2:IPlayerProxy) : void {
         this._liveLoaderMediator = new LiveLoaderMediator(param1,param2);
      }
   }
}
